//  Created by <Omar MALAGOUEN>

//  Copyright 2011 All rights reserved.
//

#ifndef CQUITDIALOG_H
#define CQUITDIALOG_H

#include <QDialog>
#include <QTimer>

namespace Ui {
    class CQuitDialog;
}

class CQuitDialog : public QDialog
{
    Q_OBJECT

public:
    explicit CQuitDialog(QWidget *parent = 0);
    ~CQuitDialog();
    QTimer *qTimer;
    int count, max;
    bool response;

private slots:
    void on_pushButtonCancel_clicked();
    void on_pushButtonQuit_clicked();
    void setTimer();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::CQuitDialog *ui;
};

#endif // CQUITDIALOG_H
